package cn.itsource.pet.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.pet.domain.Pet;

import java.util.List;
import java.util.Map;

public interface PetMapper extends BaseMapper<Pet> {
    void onsale(Map<String, Object> params);

    void offSale(Map<String, Object> params);

    Pet loadByIdDetail(Long id);
    //宠物批量下架
    void batchOffSale(List<Long> ids);
    //宠物批量上架
    void batchOnSale(List<Long> ids);
    //批量删除
    void batchDels(List<Long> ids);
}
